package com.vcredit.creditcat.vo;

import java.io.Serializable;
import java.util.Date;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;


public class IncomeInfoVo implements Serializable{

	private static final long serialVersionUID = 2435347603231106006L;
	
	@Range(min=1,message="收益类型不正确!")
	private int incomeTypeId; // 收益类型Id
	
	private int incomeType; // 收益类型 办卡/贷款
	
	private String incomeFromName; // 收益来源名称 (产品名称/卡名称)
	
	private Date incomeCreateTime; // 收益获取时间
	
	@Length(min=11, max=11, message="用户名不正确!")
	private String userName; // 用户登录名
	
	private Long incomeAmt; // 收益金额
	
	private Boolean status; // 收益领取状态

	public Date getIncomeCreateTime() {
		return incomeCreateTime;
	}

	public void setIncomeCreateTime(Date incomeCreateTime) {
		this.incomeCreateTime = incomeCreateTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getIncomeAmt() {
		return incomeAmt;
	}

	public void setIncomeAmt(Long incomeAmt) {
		this.incomeAmt = incomeAmt;
	}

	public String getIncomeFromName() {
		return incomeFromName;
	}

	public void setIncomeFromName(String incomeFromName) {
		this.incomeFromName = incomeFromName;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public int getIncomeTypeId() {
		return incomeTypeId;
	}

	public void setIncomeTypeId(int incomeTypeId) {
		this.incomeTypeId = incomeTypeId;
	}

	public int getIncomeType() {
		return incomeType;
	}

	public void setIncomeType(int incomeType) {
		this.incomeType = incomeType;
	}
	
}
